package com.ice.body.dict.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by GuoYanBin.
 * Description:质量单位
 * Create Time: 2022-05-24 05:19
 */
@Component
@Data
public class DictModel implements Serializable {
    private Integer id;

    @ApiModelProperty(value ="类型",position = 0)
    private String dictType;

    @ApiModelProperty(value ="名称",position = 1)
    private String dictName;

    @ApiModelProperty(value ="描述",position = 2)
    private String dictDesc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
